
<div class="aw-content-wrap">
    <div class="mod">
        <div class="mod-head">
            <h3>
                <ul class="nav nav-tabs">
                    <li class="active"><a href="">问题列表</a></li>
                    <li><a href="{:U('Admin/Question/search')}">搜索</a></li>
                </ul>
            </h3>
        </div>
        <div class="mod-body tab-content">
            <div class="tab-pane active" id="list">
                <!--<form id="batchs_form" action="http://127.0.0.1/wenda/?/admin/ajax/question_manage/" method="post">-->
                    <!--<input type="hidden" id="action" name="action" value="">-->
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <!--<th>-->
                                    <!--<div class="icheckbox_square-blue" style="position: relative;">-->
                                    <!--<input type="checkbox" class="check-all" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);">-->
                                    <!--<ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);"></ins>-->
                                    <!--</div>-->
                                <!--</th>-->
                                <th>问题标题</th>
                                <th>回答</th>
                                <th>关注</th>
                                <th>浏览</th>
                                <th>作者</th>
                                <th>发布时间</th>
                                <th>最后更新</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                                <foreach name="rtnQuestion" item="vo">
                                    <tr>
                                        <!--<td>-->
                                            <!--<div class="icheckbox_square-blue" style="position: relative;">-->
                                                <!--<input type="checkbox" name="question_ids[]" value="17" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);">-->
                                                <!--<ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);"></ins>-->
                                            <!--</div>-->
                                        <!--</td>-->
                                        <td><a href="{:U('Index/Question/show',array('id'=>$vo['id']))}" target="_blank">{$vo['title']}</a></td>
                                        <td>{$vo['reply']}</td>
                                        <td>{$vo['attention']}</td>
                                        <td>{$vo['views']}</td>
                                        <td><a href="{:U('Index/People/index',array('id'=>$vo['uid']))}" target="_blank">{$vo['username']}</a></td>
                                        <td>{$vo['create_time']|date="y-m-d h:i:s",###}</td>
                                        <if condition="$vo['update_time'] eq 0">
                                            <td>{$vo['create_time']|date="Y-m-d H:i:s",###}</td>
                                        <else/>
                                            <td>{$vo['update_time']|date="Y-m-d H:i:s",###}</td>
                                        </if>
                                        <!--<td><a href="http://127.0.0.1/wenda/?/publish/17" target="_blank" class="icon icon-edit md-tip" title="" data-original-title="编辑"></a></td>-->
                                        <td>
                                            <a href="{:U('Index/Question/edit',array('id'=>$vo['id']))}" data-original-title="编辑"  class="icon icon-edit md-tip" title=""></a>
                                            <a href="{:U('Admin/Question/delete',array('id'=>$vo['id']))}" onclick="return confirm('确定删除?');" data-original-title="删除"   title="" class="icon icon-forbid md-tip"></a>
                                        </td>
                                    </tr>
                                </foreach>
                            </tbody>
                        </table>
                    </div>
                <!--</form>-->
                    <div class="mod-footer">
                    <div class="page-control">
                        <style>
                            .first,.prev,.next,.end,.num,.current{
                                display: block;
                                height:30px;
                                /*border: 1px solid red;*/
                                float: left;
                                padding: 0px 5px;
                                line-height: 30px;
                                min-width: 35px;
                            }
                            .current{
                                background: #499EF3 url() 0 0 no-repeat;
                                color: #fff;
                            }
                            .first,.prev,.next,.end,.num:hover{
                                color: #2A6496;
                                background-color: #EEE;
                                border-color: #DDD;
                            }
                        </style>
                        <ul class="pagination pull-right">
                            {$page}
                        </ul>
                    </div>
                </div>
                <!--<div class="mod-table-foot">-->

                    <!--<a class="btn btn-danger" onclick="$(&#39;#action&#39;).val(&#39;remove&#39;); AWS.ajax_post($(&#39;#batchs_form&#39;));">删除</a>-->
                <!--</div>-->
            </div>

            <!--<div class="tab-pane" id="search">-->
                <!--<form method="post" action="./images/question_list.html" onsubmit="return false;" id="search_form" class="form-horizontal" role="form">-->

                    <!--<input name="action" type="hidden" value="search">-->

                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 col-xs-3 control-label">关键词:</label>-->

                        <!--<div class="col-sm-5 col-xs-8">-->
                            <!--<input class="form-control" type="text" value="" name="keyword">-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 col-xs-3 control-label">分类:</label>-->

                        <!--<div class="col-sm-5 col-xs-8">-->
                            <!--<select name="category_id" class="form-control">-->
                                <!--<option value="0"></option>-->
                                <!--<option value="1">默认分类</option><option value="2">产品分类</option><option value="4">&#45;&#45; 社区分类</option><option value="3">知识问答</option>							</select>-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 col-xs-3 control-label">发起时间范围:</label>-->

                        <!--<div class="col-sm-6 col-xs-9">-->
                            <!--<div class="row">-->
                                <!--<div class="col-xs-11  col-sm-5 mod-double">-->
                                    <!--<input type="text" class="form-control mod-data" value="" name="start_date"><div class="date_selector" style="display: none;"><div class="nav"><p class="month_nav"><span class="buttonx prev" title="[Page-Up]">«</span> <span class="month_name">一月</span> <span class="buttonx next" title="[Page-Down]">»</span></p><p class="year_nav"><span class="buttonx prev" title="[Ctrl+Page-Up]">«</span> <span class="year_name">2016</span> <span class="buttonx next" title="[Ctrl+Page-Down]">»</span></p></div><table><thead><tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr></thead><tbody><tr><td class="unselected_month" date="2015-12-27">27</td><td class="unselected_month" date="2015-12-28">28</td><td class="unselected_month" date="2015-12-29">29</td><td class="unselected_month" date="2015-12-30">30</td><td class="unselected_month" date="2015-12-31">31</td><td class="selectable_day" date="2016-01-01">1</td><td class="selectable_day" date="2016-01-02">2</td></tr><tr><td class="selectable_day" date="2016-01-03">3</td><td class="selectable_day" date="2016-01-04">4</td><td class="selectable_day" date="2016-01-05">5</td><td class="selectable_day" date="2016-01-06">6</td><td class="selectable_day" date="2016-01-07">7</td><td class="selectable_day" date="2016-01-08">8</td><td class="selectable_day" date="2016-01-09">9</td></tr><tr><td class="selectable_day" date="2016-01-10">10</td><td class="selectable_day" date="2016-01-11">11</td><td class="selectable_day" date="2016-01-12">12</td><td class="selectable_day" date="2016-01-13">13</td><td class="selectable_day" date="2016-01-14">14</td><td class="selectable_day" date="2016-01-15">15</td><td class="selectable_day" date="2016-01-16">16</td></tr><tr><td class="selectable_day" date="2016-01-17">17</td><td class="selectable_day" date="2016-01-18">18</td><td class="selectable_day today selected" date="2016-01-19">19</td><td class="selectable_day" date="2016-01-20">20</td><td class="selectable_day" date="2016-01-21">21</td><td class="selectable_day" date="2016-01-22">22</td><td class="selectable_day" date="2016-01-23">23</td></tr><tr><td class="selectable_day" date="2016-01-24">24</td><td class="selectable_day" date="2016-01-25">25</td><td class="selectable_day" date="2016-01-26">26</td><td class="selectable_day" date="2016-01-27">27</td><td class="selectable_day" date="2016-01-28">28</td><td class="selectable_day" date="2016-01-29">29</td><td class="selectable_day" date="2016-01-30">30</td></tr><tr><td class="selectable_day" date="2016-01-31">31</td><td class="unselected_month" date="2016-02-01">1</td><td class="unselected_month" date="2016-02-02">2</td><td class="unselected_month" date="2016-02-03">3</td><td class="unselected_month" date="2016-02-04">4</td><td class="unselected_month" date="2016-02-05">5</td><td class="unselected_month" date="2016-02-06">6</td></tr></tbody></table></div>-->
                                    <!--<i class="icon icon-date"></i>-->
                                <!--</div>-->
								<!--<span class="mod-symbol col-xs-1 col-sm-1">-->
								<!-- - -->
								<!--</span>-->
                                <!--<div class="col-xs-11 col-sm-5">-->
                                    <!--<input type="text" class="form-control mod-data" value="" name="end_date"><div class="date_selector" style="display: none;"><div class="nav"><p class="month_nav"><span class="buttonx prev" title="[Page-Up]">«</span> <span class="month_name">一月</span> <span class="buttonx next" title="[Page-Down]">»</span></p><p class="year_nav"><span class="buttonx prev" title="[Ctrl+Page-Up]">«</span> <span class="year_name">2016</span> <span class="buttonx next" title="[Ctrl+Page-Down]">»</span></p></div><table><thead><tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr></thead><tbody><tr><td class="unselected_month" date="2015-12-27">27</td><td class="unselected_month" date="2015-12-28">28</td><td class="unselected_month" date="2015-12-29">29</td><td class="unselected_month" date="2015-12-30">30</td><td class="unselected_month" date="2015-12-31">31</td><td class="selectable_day" date="2016-01-01">1</td><td class="selectable_day" date="2016-01-02">2</td></tr><tr><td class="selectable_day" date="2016-01-03">3</td><td class="selectable_day" date="2016-01-04">4</td><td class="selectable_day" date="2016-01-05">5</td><td class="selectable_day" date="2016-01-06">6</td><td class="selectable_day" date="2016-01-07">7</td><td class="selectable_day" date="2016-01-08">8</td><td class="selectable_day" date="2016-01-09">9</td></tr><tr><td class="selectable_day" date="2016-01-10">10</td><td class="selectable_day" date="2016-01-11">11</td><td class="selectable_day" date="2016-01-12">12</td><td class="selectable_day" date="2016-01-13">13</td><td class="selectable_day" date="2016-01-14">14</td><td class="selectable_day" date="2016-01-15">15</td><td class="selectable_day" date="2016-01-16">16</td></tr><tr><td class="selectable_day" date="2016-01-17">17</td><td class="selectable_day" date="2016-01-18">18</td><td class="selectable_day today selected" date="2016-01-19">19</td><td class="selectable_day" date="2016-01-20">20</td><td class="selectable_day" date="2016-01-21">21</td><td class="selectable_day" date="2016-01-22">22</td><td class="selectable_day" date="2016-01-23">23</td></tr><tr><td class="selectable_day" date="2016-01-24">24</td><td class="selectable_day" date="2016-01-25">25</td><td class="selectable_day" date="2016-01-26">26</td><td class="selectable_day" date="2016-01-27">27</td><td class="selectable_day" date="2016-01-28">28</td><td class="selectable_day" date="2016-01-29">29</td><td class="selectable_day" date="2016-01-30">30</td></tr><tr><td class="selectable_day" date="2016-01-31">31</td><td class="unselected_month" date="2016-02-01">1</td><td class="unselected_month" date="2016-02-02">2</td><td class="unselected_month" date="2016-02-03">3</td><td class="unselected_month" date="2016-02-04">4</td><td class="unselected_month" date="2016-02-05">5</td><td class="unselected_month" date="2016-02-06">6</td></tr></tbody></table></div>-->
                                    <!--<i class="icon icon-date"></i>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 col-xs-3 control-label">作者:</label>-->

                        <!--<div class="col-sm-5 col-xs-8">-->
                            <!--<input class="form-control" type="text" value="" name="user_name">-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 col-xs-3 control-label">回复数:</label>-->

                        <!--<div class="col-sm-6 col-xs-9">-->
                            <!--<div class="row">-->
                                <!--<div class="col-xs-11  col-sm-5 mod-double">-->
                                    <!--<input type="text" class="form-control" name="answer_count_min" value="">-->
                                <!--</div>-->
								<!--<span class="mod-symbol col-xs-1 col-sm-1">-->
								<!-- - -->
								<!--</span>-->
                                <!--<div class="col-xs-11 col-sm-5">-->
                                    <!--<input type="text" class="form-control" name="answer_count_max" value="">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 col-xs-3 control-label">是否有最佳回复:</label>-->

                        <!--<div class="col-sm-5 col-xs-8">-->
                            <!--<div class="checkbox mod-padding">-->
                                <!--<label><div class="icheckbox_square-blue" style="position: relative;"><input type="checkbox" value="1" name="best_answer" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);"></ins></div> 有最佳回复</label>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-offset-2 col-sm-5 col-xs-8">-->
                            <!--<button type="button" onclick="AWS.ajax_post($(&#39;#search_form&#39;));" class="btn btn-primary">搜索</button>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</form>-->
            <!--</div>-->
        </div>
    </div>
</div>